package com.example.wlzz.form;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import javax.validation.constraints.NotNull;
@Data
public class UserForm {
    @NotNull
    @ApiParam("手机号码")
    private String phone;  //手机号码
    @NotNull
    @ApiParam("密码")
    private String password; //密码
    @ApiParam("验证码,只有在注册提交需要提交,获取手机验证码则为空")
    private String code; //验证码
    @ApiParam("token值")
    @NotNull
    private String token;
}
